<?php 
require_once ZEAI.'sub/conn.php';
require_once ZEAI.'cache/config_reg.php';
require_once ZEAI.'cache/config_shop.php';
$TG_set = json_decode(stripslashes($_REG['TG_set']),true);
$navtop = json_decode($_SHOP['navtop'],true);
$navbtm = json_decode($_SHOP['navbtm'],true);
$rowtg  = shop_chk();
if($rowtg){
	$cook_tg_uid   = $rowtg['id'];
	$cook_tg_flag  = $rowtg['flag'];
	$cook_tg_shopgrade = intval($rowtg['shopgrade']);
	$cook_tg_shopflag  = intval($rowtg['shopflag']);
}else{
	header("Location: ".HOST."/m/tg_login.php?loginkind=shop&jumpurl=".urlencode(HOST.'/m/shop_my.php'));
}
$nav = 'shop_my';